package com.fzn1.day02;

import com.fzn1.day02.single.SingleLinkedList2;

/**
 * @program: DataStructure
 * 描述：
 * @author: fzn
 * @create: 2022-11-12 18:11
 **/
public class LinkListDemo2 {
    public static void main(String[] args) {
        List<Integer> list = new SingleLinkedList2<>();
        list.add(20);
        list.add(0, 100);
        list.add(30);
        list.add(list.size(), 40);
        System.out.println(list);
        System.out.println(list.remove(1));
        System.out.println(list);
    }
}